home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1996 #6
/
Amiga Plus CD - 1996 - No. 06.iso
/
pd
/
texte
/
texfontinst
/
contrib
/
zd
/
zdascii.mtx
< prev
next >
Wrap
Text File
|
1996-07-30
|
1KB
|
57 lines
%%% fontinst-file: zdascii.mtx
%%% version: 1.0a
%%% date: 94/08/09
%%% author: Constantin Kahn <kahn@math.uni-hannover.de>
%%% abstract: This file defines the glyphs `asciicircum',
%%% `asciitilde', and `underscore'.
\relax
\metrics
% Uses the fontinst package.
\needsfontinstversion{1.332}
% Default values
\setint{underscorefraction}{720}
\setint{underscorethickness}{50}
\setint{asciicircum-up}{0}
% Define the three glyphs
\setglyph{asciicircum}
\moveup{\int{asciicircum-up}}
\movert{\scale{\int{asciicircum-up}}{\int{italicslant}}}
\glyph{circumflex}{1000}
\movert{\neg{\scale{\int{asciicircum-up}}{\int{italicslant}}}}
\moveup{\neg{\int{asciicircum-up}}}
\resetdepth{\depth{circumflex}}
\resetheight{\height{circumflex}}
\endsetglyph
\setglyph{asciitilde}
\glyph{tilde}{1000}
\endsetglyph
\setglyph{underscore}
\movert{\sub{\scale{\width{dc-underscore}}
{\div{\sub{1000}{\int{underscorefraction}}}{2}}}
{\scale{\depth{dc-underscore}}{\int{italicslant}}}}
\moveup{\neg{\depth{dc-underscore}}}
\glyphrule{\scale{\width{dc-underscore}}{\int{underscorefraction}}}
{\int{underscorethickness}}
\moveup{\depth{dc-underscore}}
\movert{\add{\scale{\width{dc-underscore}}
{\div{\sub{1000}{\int{underscorefraction}}}{2}}}
{\scale{\depth{dc-underscore}}{\int{italicslant}}}}
\endsetglyph
\endmetrics
\end{document}